/*
* Created on Tue Jun 13 2023 by Admin
*
* Copyright (c) 2023 shuangdi
*
* description: pdfContent
*
* date: 2025/3/11
*/
<template>
  <div class="root_content">
    <el-upload
        class="upload-demo"
        drag
        action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
        multiple
    >
      <el-icon class="el-icon--upload">
        <upload-filled/>
      </el-icon>
      <div class="el-upload__text">
        <p class="upload_text"> 点击或将文件拖拽到此处上传</p>
        <p class="el-upload_tips">文档格式:支持pdf/word/excel文件</p>
      </div>
    </el-upload>
  </div>
</template>

<script setup>
import {UploadFilled} from '@element-plus/icons-vue'
</script>

<style scoped lang="less">
.root_content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  .upload-demo {
    width: 400px;
    height: 184px;

    .upload_text {
      font-size: 18px;
      color: gray;
      margin-bottom: 10px;
    }

    .el-upload_tips {
      text-align: center;
      font-size: 14px;
      color: gray;
    }
  }
}
</style>
